CREATE TABLE [dbo].[tb_SociosBiblioteca]
(
[idSociosBiblioteca] [int] NOT NULL IDENTITY(1, 1),
[Biblioteca] [int] NULL,
[SociosTotal] [int] NULL,
[SociosAlDia] [int] NULL,
[CuotaMensual] [int] NULL,
[TotalAñoAnterior] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_SociosBiblioteca] ADD CONSTRAINT [PK_tb_SociosBiblioteca] PRIMARY KEY CLUSTERED  ([idSociosBiblioteca]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_SociosBiblioteca] WITH NOCHECK ADD CONSTRAINT [FK_tb_SociosBiblioteca_Tb_Biliotecas] FOREIGN KEY ([Biblioteca]) REFERENCES [dbo].[Tb_Biliotecas] ([idbiblioteca])
GO
